package ooday03;

public class Dog extends Animal implements Swim{
    public Dog(String name, int age, String color) {
        super(name, age, color);
    }
    void eat(){
        System.out.println(name+"正在吃骨头");
    }
    void lookHome(){
        System.out.println(name+"正在看家");
    }
    public void swim(){
        System.out.println(name+"正在游泳");
    }
}
